package com.hbue.bean;

import java.util.Date;

/**
 * 图书类
 */
public class Book {
    private Integer id;
    private String bookName;    //图书名
    private String  author; //作者
    private String publisher;   //出版社
    private Date date;  //发行日期
    private double price;   //价格
    private String usage;   //用途
    private String ISBN;    //书号

    public Book() {
    }

    public Book(Integer id, String bookName, String author, String publisher, Date date, double price, String usage, String ISBN) {
        this.id = id;
        this.bookName = bookName;
        this.author = author;
        this.publisher = publisher;
        this.date = date;
        this.price = price;
        this.usage = usage;
        this.ISBN = ISBN;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getUsage() {
        return usage;
    }

    public void setUsage(String usage) {
        this.usage = usage;
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }
}
